<template>
  <div class="cardTitle">
    <div class="title">{{title}}</div>
    <div v-if="moreText !== ''" class="moreText">{{moreText}}</div>
  </div>
</template>

<script>
export default {
  name: 'cardTitle',
  props: {
    title: String,
    moreText: String
  },
  data () {
    return {
  
    }
  }
}
</script>

<style scoped lang="scss">
.cardTitle{
  height: 82px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  .title{
    font-weight: bold;
    color: #333333;
    font-size: 32px;
  }
  .moreText{
    color: #666666;
    font-size: 28px;
    padding-right: 22px;
    background-image: url(../../../../static/images/arrow_right2.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right center;
  }
}
</style>
